home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 425_01 / tar / makefile < prev    next >
Makefile  |  1980-07-23  |  1KB  |  36 lines

  1. #
  2. #    makefile - for most UNIX clones
  3. #
  4. CFLAGS    = -O -s
  5. #CFLAGS    = -g
  6. CC    = cc
  7. #CC    = gcc -Wall -pedantic
  8. OBJ    = tar.o tape.o store.o savefile.o extract.o restore.o\
  9.     lzpack.o unlzw.o compress.o roll.o percent.o qicface.o\
  10.     diszip.o zippipe.o deflate.o trees.o bits.o ziperror.o\
  11.     crc32.o
  12.  
  13. tar:    $(OBJ)
  14.     $(CC) $(CFLAGS) -o Tar $(OBJ)
  15.  
  16. tar.o:        tar.c      define.h compress.h zippipe.h lzwhead.h lzwbits.h
  17. tape.o:     tape.c     define.h compress.h zippipe.h lzwhead.h
  18. savefile.o: savefile.c define.h compress.h
  19. store.o:    store.c    define.h
  20. extract.o:  extract.c  define.h lzwbits.h zippipe.h
  21. restore.o:  restore.c  define.h lzwbits.h
  22. lzpack.o:   lzpack.c
  23. unlzw.o:    unlzw.c    lzwbits.h
  24. compress.o: compress.c lzwbits.h
  25. roll.o:     roll.c
  26. percent.o:  percent.c
  27. qicface.o:  qicface.c
  28.  
  29. diszip.o:   diszip.c   modern.h zippipe.h stdinc.h zipdefs.h crc32.h
  30. zippipe.o:  zippipe.c  modern.h zippipe.h zalloc.h zipguts.h crc32.h ziposcod.h
  31. deflate.o:  deflate.c  modern.h zippipe.h zalloc.h zipdefs.h zipguts.h
  32. trees.o:    trees.c    modern.h zippipe.h zalloc.h zipdefs.h zipguts.h
  33. bits.o:     bits.c     modern.h zippipe.h zalloc.h zipdefs.h zipguts.h stdinc.h
  34. ziperror.o: ziperror.c
  35. crc32.o:    crc32.c    modern.h crc32.h
  36.